package com.yt.product.models.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
/**
 * @Author：lianyadong
 * @Date：2025/9/4 15:51
 */
@Data
@ApiModel(value = "SupplierStatusUpdateRequest", description = "供应商状态更新请求参数")
public class SupplierStatusUpdateRequest implements Serializable {

    @ApiModelProperty(value = "供应商ID", required = true)
    @NotNull(message = "供应商ID不能为空")
    private Long id;

    @ApiModelProperty(value = "状态（0：终止合作，1：正常合作）", required = true)
    @NotNull(message = "状态不能为空")
    private Integer status;
}
